2005-12-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
leak list[0]. (#323629, Markku Vire)
2005-12-09 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
+ leak list[0]. (#323629, Markku Vire)
+
* gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
when freeing the RequestData. (#323577)
2005-12-09 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
+ leak list[0]. (#323629, Markku Vire)
+
* gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
when freeing the RequestData. (#323577)
if (count > 0)
result = g_uri_list_extract_uris (list[0]);
- for (i = 1; i < count; i++)
- g_free (list[i]);
- g_free (list);
+ g_strfreev (list);
}
return result;